<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/vue.js"></script>
</head>
<body>
<div id="app">
    <input type="text" v-model="score">
   <h1 v-if="score >= 90">优秀</h1>
    <h1 v-else-if="score >= 60">良好</h1>
    <h1 v-else>不及格</h1>
</div>
<script>
    Vue.createApp({
        data() {
            return {
                score: 60
            }
        }
    }).mount('#app')
</script>
</body>
</html>